/**
 *
 */
package org.msfj.common.exception;

import org.msfj.common.enums.HttpCode;

/**
 * @Description: 参数转换异常类
 * @Author: like
 * @Date: 2017-10-20 15:49
 * @Version: 1.0
 * @Created in idea by autoCode
 */
@SuppressWarnings("serial")
public class IllegalParameterException extends BaseException {
    public IllegalParameterException() {
    }

    public IllegalParameterException(Throwable ex) {
        super(ex);
    }

    public IllegalParameterException(String message) {
        super(message);
    }

    public IllegalParameterException(String message, Throwable ex) {
        super(message, ex);
    }

    @Override
    protected HttpCode getHttpCode() {
        return HttpCode.BAD_REQUEST;
    }
}
